package basic.w2;

public class Lt1 {
    public void f1() {
        System.out.println("call f1");
    }
    public static void f2() {
        System.out.println("call f2");
    }

    public static void main(String[] args) {
        // Lt1.f1(); 错误，不能直接调用
        Lt1 lt1 = new Lt1();
        lt1.f1();
        f2();
    }
}
